package com.dataseek.iot.mqtt.constant;

import java.util.ArrayList;
import java.util.List;

/**
 * @author cc
 * @Title: mqtt 常量类
 * @Description: mqtt 常量类
 * @date 2021/9/297:17 下午
 * @since 1.0
 */
public class MqttTopicConstant {

    //读取设备属性
    public static final String READ_PROPS = "properties/read";
    //设备属性回复
    public static final String REPLY_READ_PROPS = "properties/read/reply";
    //修改设备属性
    public static final String WRITE_PROPS = "properties/write";
    //设备属性修改回复
    public static final String REPLY_WRITE_PROPS = "properties/write/reply";
    //设备属性上报
    public static final String REPORT_PROPS = "properties/report";
    //调用设备功能
    public static final String INVOKE_FUNCTION = "function/invoke";
    //调用设备功能回复
    public static final String REPLY_INVOKE_FUNCTION = "function/invoke/reply";
    //设备事件上报
    public static final String EVENT= "event";
//    //更新固件信息
//    public static final String UPGRADE_VERSION= "firmware/upgrade";
//    //上报更新固件进度
//    public static final String UPGRADE_PROGRESS= "firmware/upgrade";
//    //拉取固件更新
//    public static final String PULL_UPGRADE= "firmware/pull";
//    //拉取固件更新回复
//    public static final String REPLY_PULL_UPGRADE="firmware/pull/reply";
//    //上报固件版本
//    public static final String REPORT_VERSION = "firmware/report";
//    //获取固件版本/版本回复
//    public static final String READ_VERSION = "firmware/read";
    //设备日志上报
    public static final String REPORT_LOG = "log";
    // 告警上报
    public static final String ALARM = "event/alarm";
    //设备离线
    public static final String DISCONNECTED = "/disconnected";
    //设备上线
    public static final String CONNECTED = "/connected";
    //离线
    public static final String OFFLINE = "/offline";
    //上线
    public static final String ONLINE  = "/online";

    //系统描述
    public static final String SYSDESCR = "/sysdescr";


}
